﻿using Childhood.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Childhood.Controllers
{
    public partial class GeneralController : Controller
    {
        //
        // GET: /General/
       childhoodDiariesEntities _entity = new childhoodDiariesEntities();

        public virtual ActionResult Index()
        {
            return View();
        }
        public virtual ActionResult GetFooterMenu()
        {
            var lstFooterCat = _entity.tbFooterCategory;
            return PartialView("GetFooterMenu",lstFooterCat);
        }
    }
}
